<extend name="Public/base"/>
<block name="body">
  <form method="post" class="form-horizontal J_ajaxForm" action="{:U("")}">
    <div class="table_list">
      <table  width="100%" class="table table_from table-bordered">
        <tbody>
          <tr>
            <th width="180">用户名:</th>
            <td><input type="text" class="input" name="name" value="{$name}"></td>
          </tr>
           <tr>
            <th width="180">昵称:</th>
            <td><input type="text" class="input" name="nickname" value="{$nickname}"></td>
          </tr>
          <tr>
            <th>密码:</th>
            <td><input type="text" class="input" name="pass" value="{:rand_string()}" ></td>
          </tr>
          <tr>
            <th>邮箱:</th>
            <td><input type="text" class="input" name="email" value="{$email}"></td>
          </tr>
          
             <tr>
          <th>邮箱认证</th>
          <td>
          
       
            <label class="radio inline"> <input type="radio"  name="email_status"   value="1" checked="checked"  >
              已认证 </label>
            <label class="radio inline"> <input type="radio"  name="email_status"   value="0"   >
              未认证</label>
          
          
          </td>
          
          </tr>
          
          <tr><th>会员组</th>
          <td>

            <select name="group" class="normal_select">

              <volist name="groups" id="vo">
                <option value="{$vo.id}" {$vo.selected}>{$vo.name}</option>
              </volist>
            </select>
            
          </td>
          </tr>
          
          
       
          <tr>
          <th>状态</th>
          <td>
          
       
            <label class="radio inline"> <input type="radio"  name="status"   value="1" checked="checked" >
              正常 </label>
            <label class="radio inline"> <input type="radio"  name="status"   value="0" >
              禁用</label>
          
          
          </td>
          
          </tr>
        </tbody>
      </table>
    </div>
    <div class="form-actions">
    
      <button class="btn btn-info ajax-post " target-form="J_ajaxForm" type="submit"> 更新</button>
      <a class="btn btn-return" href="__URL__" >返 回</a>
      
  </form>
</block>
